import request from '../request'
/**
 * 获取cate
 */
export const getCate = async()=>{
      let data = await request({url: 'public/v1/categories'})
      return data
}

/**
 * 请求分类商品的列表
 */
export const queryGoodsList = async(obj)=>{
      let data = await request({url: 'public/v1/goods/search',data:obj})
      return data
}
/**
 * 
 * @param {搜索的接口} obj 
 */
export const querySearch = async(obj)=>{
      let data = await request({url: 'public/v1/goods/qsearch',data:obj})
      return data
}